package cn.itsource.basic.basic.mapper;

import cn.itsource.basic.basic.query.BaseQuery;
import cn.itsource.org.domain.Department;
import cn.itsource.org.domain.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseMapper<T>{

    void insert(T t);

    void delete(Long id);

    void update(T t);

    T selectById(Long id);

    List<T> selectAll();

    Long count();

    List<T> pageData(BaseQuery query);

    void batchRemove (List<Long> ids);

    List<T> loadAll();
}


